const webpack = require("webpack");

module.exports = {
    configureWebpack: {
        plugins: [
            new webpack.ProvidePlugin({
                $: "jquery",
                jQuery: "jquery",
                "window.jQuery": "jquery",
                Popper: ["popper.js", "default"]
            })
        ],
    },
    devServer: {
        // open: process.platform === 'darwin',
        // host: 'localhost',
        //port: 8071,
        open: true, //配置自动启动浏览器
        proxy: 'http://localhost:8201/adware-portal'
    }
};